package cn.wolfcode.wolf2w;

import cn.wolfcode.wolf2w.common.security.annotation.EnableCustomConfig;
import cn.wolfcode.wolf2w.common.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})// 自动装配排除数据源--springSecurity要求配置数据源
@EnableDiscoveryClient// 服务注册客户端--可省略
@EnableRyFeignClients// feign客户端被ruoyi封装好--导入依赖
@EnableCustomConfig//mapperscan被封装了--导入依赖
public class MessageApplication {
    public static void main(String[] args) {
        SpringApplication.run(MessageApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  短信模块启动成功   ლ(´ڡ`ლ)ﾞ ");
    }
}
